package learningThread.api.priority;

public class Thread1 extends Thread{

    @Override
    public void run() {
        System.out.println("Thread1  priority:"+this.getPriority());
        Thread2 thread2 = new Thread2();
        thread2.start();
    }
}
